package com.app.service;


import com.app.model.ConfigModel;
import com.app.model.CusEducationModel;
import com.app.model.EnterpriseModel;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
 * @Description: ***
 * @Author: N
 * @Date: 2022年11月24日10点26分
 */
public interface ConfigService {


    List<ConfigModel> getListByModel(ConfigModel model);

    List<ConfigModel> getGroupListById(Integer id);

    ConfigModel getModelByFatherId(Integer id);

    ConfigModel getModelById(Integer id);

    Integer insert(ConfigModel model);

    Page<ConfigModel> findByNewsTypePage(String comName, Integer page, Integer limit);

    List<ConfigModel> getGroupListByType(Integer type,Integer fatherId);

    void delete(Integer id);


    Object villageList();

    Object streetList();

    List<ConfigModel> selectList(QueryWrapper<ConfigModel> queryWrapper1);

    ConfigModel getModelByName(String name);

    List<String> getStaticsTown();

    List<ConfigModel> getStaticsTownId();
}
